package com.shop2cn.iapi.sqpayment.parameter;

import java.math.BigDecimal;

import com.ymt.core.tool.FormatUtil;

public class PromotionDetail {
//	promotion_detail=[{"currency": "CNY", 
	private String currency;
//	"activity_id": "15253288", 
	private String activity_id;
//	"name": "\u5e73\u5b89\u4fe1\u7528\u53611\u5143\u5238", 
	private String name;
//	"scope": "GLOBAL", 
	private String scope;
//	"promotion_id": "17383604405", 
	private String promotion_id;
//	"type": "COUPON",
	private String type;
//	"amount": "1.00"}, {"currency": "CNY", "activity_id": "15253239", "name": "\u5e73\u5b89\u4fe1\u7528\u53612\u5143\u5238", "scope": "GLOBAL", "promotion_id": "17385875524", "type": "COUPON", "amount": "2.00"}]
	private BigDecimal amount;
	public String getCurrency() {
		return currency;
	}
	public void setCurrency(String currency) {
		this.currency = currency;
	}
	public String getActivity_id() {
		return activity_id;
	}
	public void setActivity_id(String activity_id) {
		this.activity_id = activity_id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getScope() {
		return scope;
	}
	public void setScope(String scope) {
		this.scope = scope;
	}
	public String getPromotion_id() {
		return promotion_id;
	}
	public void setPromotion_id(String promotion_id) {
		this.promotion_id = promotion_id;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public BigDecimal getAmount() {
		return amount;
	}
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}
	@Override
	public String toString() {
		return FormatUtil.beanToGSONString(this);
		
	}
}
